﻿@model blogDemo.Models.user

@{
    ViewBag.Title = "Create";
}

<h2></h2>

<div class="container">
    <div class="row">
        <div class="col-md-10 col-md-offset-1">
            <form action="/admin/userCreate/" class="form-horizontal" method="post">
                @Html.AntiForgeryToken()
                @Html.ValidationSummary(true)
                <fieldset>
                    <legend>新用户</legend>
                    <div class="control-group">
                        <label class="control-label" for="input01">用户名</label>
                        <div class="controls">
                            <input type="text" name="username" id="title" class="input-xlarge" id="input01">
                            <p class="help-block">输入用户名</p>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="input01">密码</label>
                        <div class="controls">
                            <input type="text" id="label" name="password" class="input-xlarge" id="input01">
                            <p class="help-block">输入登录密码</p>
                        </div>
                    </div>
                    <input type="submit" value="新建" />
                </fieldset>
            </form>

            <div>
                @Html.ActionLink("Back to List", "userIndex")
            </div>
        </div>  <!-- ./col-md-10 -->
    </div>  <!-- ./row -->
</div>  <!-- ./container -->
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}